<?php if (!isset($model)) $model = Inflector::classify($this->name); ?>
<?php echo $html->link('Excel', array('controller' => isset($controller)? $controller: null, 'action' => isset($action)? $action:'excel', isset($params)? $params: $this->data[$model]['id']), array('class' => 'button excel', 'target' => '_blank')); ?>